package dashboard

type DeviceBoardResponse struct {
	BindBike      int64      `json:"bind_bike,omitempty"`
	FourGBike     int64      `json:"four_g_bike,omitempty"`
	BluetoothBike int64      `json:"bluetooth_bike,omitempty"`
	Distance      float64    `json:"distance,omitempty"`
	Day           Comparison `json:"day"`
	Month         Comparison `json:"month"`
	Year          Comparison `json:"year"`
}

type DeviceBindWaveResponse struct {
	FourG     Wave   `json:"four_g"`
	Bluetooth Wave   `json:"bluetooth"`
	Period    PERIOD `json:"period,omitempty"`
}

type DeviceLostBoardResponse struct {
	Lost  int64      `json:"lost,omitempty"`
	Day   Comparison `json:"day"`
	Month Comparison `json:"month"`
	Year  Comparison `json:"year"`
}

type DeviceLostWaveResponse struct {
	LostBike Wave   `json:"lost_bike"`
	Period   PERIOD `json:"period,omitempty"`
}

type DeviceFaultBoardResponse struct {
	Type  string     `json:"type,omitempty"`
	Fault int64      `json:"fault,omitempty"`
	Day   Comparison `json:"day"`
	Month Comparison `json:"month"`
	Year  Comparison `json:"year"`
}

type DeviceFaultWaveResponse struct {
	Fault  Wave   `json:"fault"`
	Period PERIOD `json:"period,omitempty"`
}

type DeviceSummaryResponse struct {
	Total int64 `json:"total,omitempty"`
	Bind  int64 `json:"bind,omitempty"`
}
